#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018-12-04 16:46
# @Author  : 少爷

# 判断这个区间内有多少个素数，并逐一输出

from math import sqrt

h = 0
leap = 1

for m in range(101, 200):
    k = int(sqrt(m + 1))
    for i in range(2, k + 1):
        if m % i == 0:
            leap = 0
            break
    if leap == 1:
        print '%-4d' % m
        h += 1
        if h % 10 == 0:
            print ''
    leap = 1

print 'The total is %d' % h
